home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
awe2-0_1.lha
/
awe2-0.1
/
Src
/
RCS
/
ThreadContainer.cc,v
< prev
next >
Wrap
Text File
|
1989-02-20
|
1KB
|
110 lines
head 3.2;
branch ;
access ;
symbols ;
locks ; strict;
comment @@;
3.2
date 89.02.20.15.37.51; author grunwald; state Exp;
branches ;
next 3.1;
3.1
date 88.12.20.13.49.22; author grunwald; state Exp;
branches ;
next 1.2;
1.2
date 88.10.30.13.03.27; author grunwald; state Exp;
branches ;
next 1.1;
1.1
date 88.09.18.16.42.30; author grunwald; state Exp;
branches ;
next ;
desc
@@
3.2
log
@Start using Gnu library heaps for schedulers
@
text
@// This may look like C code, but it is really -*- C++ -*-
//
// Copyright (C) 1988 University of Illinois, Urbana, Illinois
//
// written by Dirk Grunwald (grunwald@@cs.uiuc.edu)
//
#include "ThreadContainer.h"
#include "assert.h"
void ThreadContainer::add(Thread*)
{
assert( SubClassResponsibility );
}
void ThreadContainer::add(double, Thread*)
{
assert( SubClassResponsibility );
}
void ThreadContainer::add(int when, Thread* p)
{
add(double(when), p);
}
Thread* ThreadContainer::remove()
{
assert( SubClassResponsibility );
return( (Thread *) 0);
}
Thread* ThreadContainer::remove(Thread *)
{
assert( SubClassResponsibility );
return( (Thread *) 0);
}
bool ThreadContainer::isEmpty()
{
return(1);
}
unsigned ThreadContainer::size()
{
return(0);
}
@
3.1
log
@Steay version
@
text
@@
1.2
log
@*** empty log message ***
@
text
@@
1.1
log
@Initial revision
@
text
@d1 6
@